MOTOBIT.COM - ASP upload, IIS utility SIDNameUse Enum, Member of UserManager

Member of  UserManager Use SIDNameUse object | Changes | Purchase | Download

Description

contains values that specify the type of a security identifier (SID). Win32 SID_NAME_USE.

Values

SIDTypeNone = &H0 
SIDTypeUser = &H1 Indicates a user SID
SIDTypeGroup = &H2 Indicates a group SID
SIDTypeDomain = &H3 Indicates a domain SID
SIDTypeAlias = &H4 Indicates an alias SID
SIDTypeWellKnownGroup = &H5 Indicates an SID for a well-known group
SIDTypeDeletedAccount = &H6 Indicates an SID for a deleted account
SIDTypeInvalid = &H7 Indicates an invalid SID
SIDTypeUnknown = &H8 Indicates an unknown SID type
SIDTypeComputer = &H9 Indicates a SID for a computer.

Includes

VBS include

'SIDNameUse - begin
Public Const SIDTypeNone = &H0
Public Const SIDTypeUser = &H1 'Indicates a user SID
Public Const SIDTypeGroup = &H2 'Indicates a group SID
Public Const SIDTypeDomain = &H3 'Indicates a domain SID
Public Const SIDTypeAlias = &H4 'Indicates an alias SID
Public Const SIDTypeWellKnownGroup = &H5 'Indicates an SID for a well-known group
Public Const SIDTypeDeletedAccount = &H6 'Indicates an SID for a deleted account
Public Const SIDTypeInvalid = &H7 'Indicates an invalid SID
Public Const SIDTypeUnknown = &H8 'Indicates an unknown SID type
Public Const SIDTypeComputer = &H9 'Indicates a SID for a computer.
'SIDNameUse - end

VB4 include

'SIDNameUse - begin
Public Const SIDTypeNone As Long = &H0
Public Const SIDTypeUser As Long = &H1 'Indicates a user SID
Public Const SIDTypeGroup As Long = &H2 'Indicates a group SID
Public Const SIDTypeDomain As Long = &H3 'Indicates a domain SID
Public Const SIDTypeAlias As Long = &H4 'Indicates an alias SID
Public Const SIDTypeWellKnownGroup As Long = &H5 'Indicates an SID for a well-known group
Public Const SIDTypeDeletedAccount As Long = &H6 'Indicates an SID for a deleted account
Public Const SIDTypeInvalid As Long = &H7 'Indicates an invalid SID
Public Const SIDTypeUnknown As Long = &H8 'Indicates an unknown SID type
Public Const SIDTypeComputer As Long = &H9 'Indicates a SID for a computer.
'SIDNameUse - end

VB5 include

Public Enum SIDNameUse
  SIDTypeNone = &H0
  SIDTypeUser = &H1 'Indicates a user SID
  SIDTypeGroup = &H2 'Indicates a group SID
  SIDTypeDomain = &H3 'Indicates a domain SID
  SIDTypeAlias = &H4 'Indicates an alias SID
  SIDTypeWellKnownGroup = &H5 'Indicates an SID for a well-known group
  SIDTypeDeletedAccount = &H6 'Indicates an SID for a deleted account
  SIDTypeInvalid = &H7 'Indicates an invalid SID
  SIDTypeUnknown = &H8 'Indicates an unknown SID type
  SIDTypeComputer = &H9 'Indicates a SID for a computer.
End Enum 'SIDNameUse

JScript include

//SIDNameUse - begin
var SIDTypeNone = 0x0;
var SIDTypeUser = 0x1; //Indicates a user SID
var SIDTypeGroup = 0x2; //Indicates a group SID
var SIDTypeDomain = 0x3; //Indicates a domain SID
var SIDTypeAlias = 0x4; //Indicates an alias SID
var SIDTypeWellKnownGroup = 0x5; //Indicates an SID for a well-known group
var SIDTypeDeletedAccount = 0x6; //Indicates an SID for a deleted account
var SIDTypeInvalid = 0x7; //Indicates an invalid SID
var SIDTypeUnknown = 0x8; //Indicates an unknown SID type
var SIDTypeComputer = 0x9; //Indicates a SID for a computer.
//SIDNameUse - end

IDL include

// SIDNameUse
typedef [helpcontext(0x20072), helpstring("contains values that specify the type of a security identifier (SID). Win32 SID_NAME_USE.")]
enum SIDNameUse{
	[helpcontext(0x20072)]
		SIDTypeNone = 0x0,
	[helpcontext(0x20072), helpstring("Indicates a user SID")]
		SIDTypeUser = 0x1,
	[helpcontext(0x20072), helpstring("Indicates a group SID")]
		SIDTypeGroup = 0x2,
	[helpcontext(0x20072), helpstring("Indicates a domain SID")]
		SIDTypeDomain = 0x3,
	[helpcontext(0x20072), helpstring("Indicates an alias SID")]
		SIDTypeAlias = 0x4,
	[helpcontext(0x20072), helpstring("Indicates an SID for a well-known group")]
		SIDTypeWellKnownGroup = 0x5,
	[helpcontext(0x20072), helpstring("Indicates an SID for a deleted account")]
		SIDTypeDeletedAccount = 0x6,
	[helpcontext(0x20072), helpstring("Indicates an invalid SID")]
		SIDTypeInvalid = 0x7,
	[helpcontext(0x20072), helpstring("Indicates an unknown SID type")]
		SIDTypeUnknown = 0x8,
	[helpcontext(0x20072), helpstring("Indicates a SID for a computer.")]
		SIDTypeComputer = 0x9
} SIDNameUse;

Other links for SIDNameUse class

ActiveX UserManager classes

User, Users, Group, Server, Groups, GroupMembers, RasUser, Servers, Domain

ActiveX UserManager enums

UsersFilter, GroupAttributes, UserFlags, UserPrivileges, ServerTypes, LogonTypes, LogonProviders, OperatorPrivileges, RasPrivileges, SIDNameUse

UserManager

ActiveX UserManager is easy to use COM component with classes to create, delete and manage local and remote user accounts, groups, servers and domains in the Windows NT (2000/XP) environment. You can simple work with user accounts and groups from VBA, VBS/JS, ASP and T-SQL programming environment.

© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz