Click or drag to resize
UserInfoProviderGetUserInfo Method (String)

Note: This API is now obsolete.

Returns the UserInfo structure for the specified user.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IUserInfoProvider.Get(string) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - UserInfo.Provider.")]
public static UserInfo GetUserInfo(
	string userName
)

Parameters

userName
Type: SystemString
UserName

Return Value

Type: UserInfo
See Also