CCNet.SourceNotifier.UserInfo.UserInfoFactory.CreateUserInfo C# (CSharp) Method

CreateUserInfo() public static method

Creates UserInfo instance for the specified UserPrincipal information object from AD.
public static CreateUserInfo ( System.DirectoryServices.AccountManagement.UserPrincipal userPrincipal ) : IUserInfo
userPrincipal System.DirectoryServices.AccountManagement.UserPrincipal
return IUserInfo
		public static IUserInfo CreateUserInfo(UserPrincipal userPrincipal)
		{
			return new RegisteredUserInfo(userPrincipal);
		}

Same methods

UserInfoFactory::CreateUserInfo ( string logonName ) : IUserInfo
UserInfoFactory