SIDNameUse

ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP
Url replacer, IIS url rewrite Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object
 IISTracer, real-time IIS monitor
 Huge ASP upload - upload files with progress.
          Enum 
          Member of  UserManager Use SIDNameUse object 

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  
'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
'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
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
//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
// 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

UserManager

Easy to use classes to create, delete and manage local and remote user accounts, groups, servers and domains in the Windows NT (2000/XP) environment. Simple work with user accounts and groups from VBA, VBS/JS, ASP and T-SQL.

© 1996 – 2006 Antonin Foller, Motobit Software, help{at}pstruh.cz, help v. 2.03.68