Knowledge Base

Snippets

06

 

        private string GetUserProfileString(string CustomProperty, int UserID)
        {
            UserInfo oUserInfo = UserController.GetUserById(PortalSettings.PortalId, UserID);
            string sCustomProperty = oUserInfo.Profile.GetPropertyValue(CustomProperty);
            return sCustomProperty;
        }

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Only registered users may post comments.