This project has moved. For the latest updates, please go here.

System.Security.Principal.NTAccount

Extension methods for the System.Security.Principal.NTAccount class. These extension methods are in the Security.Principal namespace, so in order to use them both the Security.Principal and System.Security.Principal namespaces must be included in your code.

APIs

System.Security.Principal.WindowsIdentity LogOnUser(System.String password)

Log a user on using a clear string password. This method uses the default logon provider and performs an interactive logon.

Permission Requirements:
System.Security.Permissions.SecurityPermission This method demands SecurityPermission/ControlPrincipal


System.Security.Principal.WindowsIdentity LogOnUser(System.String password, Security.Principal.LogOnType logOnType, Security.Principal.LogOnProvider logOnProvider)

Log a user on using a clear string password, specifying the logon type and provider to use.

Permission Requirements:
System.Security.Permissions.SecurityPermission This method demands SecurityPermission/ControlPrincipal


System.Security.Principal.WindowsIdentity LogOnUser(System.Security.SecureString password)

Log a user on using a secure password. This method uses the default logon provider and performs an interactive logon.

Permission Requirements:
System.Security.Permissions.SecurityPermission This method demands SecurityPermission/ControlPrincipal


System.Security.Principal.WindowsIdentity LogOnUser(System.Security.SecureString password, Security.Principal.LogOnType logOnType, Security.Principal.LogOnProvider logOnProvider)

Log a user on using a secure password, specifying the logon type and provider to use.

Permission Requirements:
System.Security.Permissions.SecurityPermission This method demands SecurityPermission/ControlPrincipal



Last edited Jul 3, 2009 at 1:21 AM by shawnfa, version 1

Comments

No comments yet.