ReactOS  0.4.15-dev-506-ga3ec01c
samr Interface Reference

import"sam.idl";

Public Member Functions

NTSTATUS __stdcall SamrConnect ([in, unique] PSAMPR_SERVER_NAME ServerName, [out] SAMPR_HANDLE *ServerHandle, [in] ACCESS_MASK DesiredAccess)
 
NTSTATUS __stdcall SamrCloseHandle ([in, out] SAMPR_HANDLE *SamHandle)
 
NTSTATUS __stdcall SamrSetSecurityObject ([in] SAMPR_HANDLE ObjectHandle, [in] SECURITY_INFORMATION SecurityInformation, [in] PSAMPR_SR_SECURITY_DESCRIPTOR SecurityDescriptor)
 
NTSTATUS __stdcall SamrQuerySecurityObject ([in] SAMPR_HANDLE ObjectHandle, [in] SECURITY_INFORMATION SecurityInformation, [out] PSAMPR_SR_SECURITY_DESCRIPTOR *SecurityDescriptor)
 
NTSTATUS __stdcall SamrShutdownSamServer ([in] SAMPR_HANDLE ServerHandle)
 
NTSTATUS __stdcall SamrLookupDomainInSamServer ([in] SAMPR_HANDLE ServerHandle, [in] PRPC_UNICODE_STRING Name, [out] PRPC_SID *DomainId)
 
NTSTATUS __stdcall SamrEnumerateDomainsInSamServer ([in] SAMPR_HANDLE ServerHandle, [in, out] unsigned long *EnumerationContext, [out] PSAMPR_ENUMERATION_BUFFER *Buffer, [in] unsigned long PreferedMaximumLength, [out] unsigned long *CountReturned)
 
NTSTATUS __stdcall SamrOpenDomain ([in] SAMPR_HANDLE ServerHandle, [in] ACCESS_MASK DesiredAccess, [in] PRPC_SID DomainId, [out] SAMPR_HANDLE *DomainHandle)
 
NTSTATUS __stdcall SamrQueryInformationDomain ([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_INFORMATION_CLASS DomainInformationClass, [out, switch_is(DomainInformationClass)] PSAMPR_DOMAIN_INFO_BUFFER *Buffer)
 
NTSTATUS __stdcall SamrSetInformationDomain ([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_INFORMATION_CLASS DomainInformationClass, [in, switch_is(DomainInformationClass)] PSAMPR_DOMAIN_INFO_BUFFER DomainInformation)
 
NTSTATUS __stdcall SamrCreateGroupInDomain ([in] SAMPR_HANDLE DomainHandle, [in] PRPC_UNICODE_STRING Name, [in] ACCESS_MASK DesiredAccess, [out] SAMPR_HANDLE *GroupHandle, [out] unsigned long *RelativeId)
 
NTSTATUS __stdcall SamrEnumerateGroupsInDomain ([in] SAMPR_HANDLE DomainHandle, [in, out] unsigned long *EnumerationContext, [out] PSAMPR_ENUMERATION_BUFFER *Buffer, [in] unsigned long PreferedMaximumLength, [out] unsigned long *CountReturned)
 
NTSTATUS __stdcall SamrCreateUserInDomain ([in] SAMPR_HANDLE DomainHandle, [in] PRPC_UNICODE_STRING Name, [in] ACCESS_MASK DesiredAccess, [out] SAMPR_HANDLE *UserHandle, [out] unsigned long *RelativeId)
 
NTSTATUS __stdcall SamrEnumerateUsersInDomain ([in] SAMPR_HANDLE DomainHandle, [in, out] unsigned long *EnumerationContext, [in] unsigned long UserAccountControl, [out] PSAMPR_ENUMERATION_BUFFER *Buffer, [in] unsigned long PreferedMaximumLength, [out] unsigned long *CountReturned)
 
NTSTATUS __stdcall SamrCreateAliasInDomain ([in] SAMPR_HANDLE DomainHandle, [in] PRPC_UNICODE_STRING AccountName, [in] ACCESS_MASK DesiredAccess, [out] SAMPR_HANDLE *AliasHandle, [out] unsigned long *RelativeId)
 
NTSTATUS __stdcall SamrEnumerateAliasesInDomain ([in] SAMPR_HANDLE DomainHandle, [in, out] unsigned long *EnumerationContext, [out] PSAMPR_ENUMERATION_BUFFER *Buffer, [in] unsigned long PreferedMaximumLength, [out] unsigned long *CountReturned)
 
NTSTATUS __stdcall SamrGetAliasMembership ([in] SAMPR_HANDLE DomainHandle, [in] PSAMPR_PSID_ARRAY SidArray, [out] PSAMPR_ULONG_ARRAY Membership)
 
NTSTATUS __stdcall SamrLookupNamesInDomain ([in] SAMPR_HANDLE DomainHandle, [in, range(0, 1000)] unsigned long Count, [in, size_is(1000), length_is(Count)] RPC_UNICODE_STRING Names[*], [out] PSAMPR_ULONG_ARRAY RelativeIds, [out] PSAMPR_ULONG_ARRAY Use)
 
NTSTATUS __stdcall SamrLookupIdsInDomain ([in] SAMPR_HANDLE DomainHandle, [in, range(0, 1000)] unsigned long Count, [in, size_is(1000), length_is(Count)] unsigned long *RelativeIds, [out] PSAMPR_RETURNED_USTRING_ARRAY Names, [out] PSAMPR_ULONG_ARRAY Use)
 
NTSTATUS __stdcall SamrOpenGroup ([in] SAMPR_HANDLE DomainHandle, [in] ACCESS_MASK DesiredAccess, [in] unsigned long GroupId, [out] SAMPR_HANDLE *GroupHandle)
 
NTSTATUS __stdcall SamrQueryInformationGroup ([in] SAMPR_HANDLE GroupHandle, [in] GROUP_INFORMATION_CLASS GroupInformationClass, [out, switch_is(GroupInformationClass)] PSAMPR_GROUP_INFO_BUFFER *Buffer)
 
NTSTATUS __stdcall SamrSetInformationGroup ([in] SAMPR_HANDLE GroupHandle, [in] GROUP_INFORMATION_CLASS GroupInformationClass, [in, switch_is(GroupInformationClass)] PSAMPR_GROUP_INFO_BUFFER Buffer)
 
NTSTATUS __stdcall SamrAddMemberToGroup ([in] SAMPR_HANDLE GroupHandle, [in] unsigned long MemberId, [in] unsigned long Attributes)
 
NTSTATUS __stdcall SamrDeleteGroup ([in, out] SAMPR_HANDLE *GroupHandle)
 
NTSTATUS __stdcall SamrRemoveMemberFromGroup ([in] SAMPR_HANDLE GroupHandle, [in] unsigned long MemberId)
 
NTSTATUS __stdcall SamrGetMembersInGroup ([in] SAMPR_HANDLE GroupHandle, [out] PSAMPR_GET_MEMBERS_BUFFER *Members)
 
NTSTATUS __stdcall SamrSetMemberAttributesOfGroup ([in] SAMPR_HANDLE GroupHandle, [in] unsigned long MemberId, [in] unsigned long Attributes)
 
NTSTATUS __stdcall SamrOpenAlias ([in] SAMPR_HANDLE DomainHandle, [in] ACCESS_MASK DesiredAccess, [in] ULONG AliasId, [out] SAMPR_HANDLE *AliasHandle)
 
NTSTATUS __stdcall SamrQueryInformationAlias ([in] SAMPR_HANDLE AliasHandle, [in] ALIAS_INFORMATION_CLASS AliasInformationClass, [out, switch_is(AliasInformationClass)] PSAMPR_ALIAS_INFO_BUFFER *Buffer)
 
NTSTATUS __stdcall SamrSetInformationAlias ([in] SAMPR_HANDLE AliasHandle, [in] ALIAS_INFORMATION_CLASS AliasInformationClass, [in, switch_is(AliasInformationClass)] PSAMPR_ALIAS_INFO_BUFFER Buffer)
 
NTSTATUS __stdcall SamrDeleteAlias ([in, out] SAMPR_HANDLE *AliasHandle)
 
NTSTATUS __stdcall SamrAddMemberToAlias ([in] SAMPR_HANDLE AliasHandle, [in] PRPC_SID MemberId)
 
NTSTATUS __stdcall SamrRemoveMemberFromAlias ([in] SAMPR_HANDLE AliasHandle, [in] PRPC_SID MemberId)
 
NTSTATUS __stdcall SamrGetMembersInAlias ([in] SAMPR_HANDLE AliasHandle, [out] PSAMPR_PSID_ARRAY_OUT Members)
 
NTSTATUS __stdcall SamrOpenUser ([in] SAMPR_HANDLE DomainHandle, [in] ACCESS_MASK DesiredAccess, [in] ULONG UserId, [out] SAMPR_HANDLE *UserHandle)
 
NTSTATUS __stdcall SamrDeleteUser ([in, out] SAMPR_HANDLE *UserHandle)
 
NTSTATUS __stdcall SamrQueryInformationUser ([in] SAMPR_HANDLE UserHandle, [in] USER_INFORMATION_CLASS UserInformationClass, [out, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER *Buffer)
 
NTSTATUS __stdcall SamrSetInformationUser ([in] SAMPR_HANDLE UserHandle, [in] USER_INFORMATION_CLASS UserInformationClass, [in, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER Buffer)
 
NTSTATUS __stdcall SamrChangePasswordUser ([in] SAMPR_HANDLE UserHandle, [in] unsigned char LmPresent, [in, unique] PENCRYPTED_LM_OWF_PASSWORD OldLmEncryptedWithNewLm, [in, unique] PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithOldLm, [in] unsigned char NtPresent, [in, unique] PENCRYPTED_NT_OWF_PASSWORD OldNtEncryptedWithNewNt, [in, unique] PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithOldNt, [in] unsigned char NtCrossEncryptionPresent, [in, unique] PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithNewLm, [in] unsigned char LmCrossEncryptionPresent, [in, unique] PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithNewNt)
 
NTSTATUS __stdcall SamrGetGroupsForUser ([in] SAMPR_HANDLE UserHandle, [out] PSAMPR_GET_GROUPS_BUFFER *Groups)
 
NTSTATUS __stdcall SamrQueryDisplayInformation ([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass, [in] unsigned long Index, [in] unsigned long EntryCount, [in] unsigned long PreferredMaximumLength, [out] unsigned long *TotalAvailable, [out] unsigned long *TotalReturned, [out, switch_is(DisplayInformationClass)] PSAMPR_DISPLAY_INFO_BUFFER Buffer)
 
NTSTATUS __stdcall SamrGetDisplayEnumerationIndex ([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass, [in] PRPC_UNICODE_STRING Prefix, [out] unsigned long *Index)
 
NTSTATUS __stdcall SamrTestPrivateFunctionsDomain ([in] SAMPR_HANDLE DomainHandle)
 
NTSTATUS __stdcall SamrTestPrivateFunctionsUser ([in] SAMPR_HANDLE UserHandle)
 
NTSTATUS __stdcall SamrGetUserDomainPasswordInformation ([in] SAMPR_HANDLE UserHandle, [out] PUSER_DOMAIN_PASSWORD_INFORMATION PasswordInformation)
 
NTSTATUS __stdcall SamrRemoveMemberFromForeignDomain ([in] SAMPR_HANDLE DomainHandle, [in] PRPC_SID MemberSid)
 
NTSTATUS __stdcall SamrQueryInformationDomain2 ([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_INFORMATION_CLASS DomainInformationClass, [out, switch_is(DomainInformationClass)] PSAMPR_DOMAIN_INFO_BUFFER *Buffer)
 
NTSTATUS __stdcall SamrQueryInformationUser2 ([in] SAMPR_HANDLE UserHandle, [in] USER_INFORMATION_CLASS UserInformationClass, [out, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER *Buffer)
 
NTSTATUS __stdcall SamrQueryDisplayInformation2 ([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass, [in] unsigned long Index, [in] unsigned long EntryCount, [in] unsigned long PreferredMaximumLength, [out] unsigned long *TotalAvailable, [out] unsigned long *TotalReturned, [out, switch_is(DisplayInformationClass)] PSAMPR_DISPLAY_INFO_BUFFER Buffer)
 
NTSTATUS __stdcall SamrGetDisplayEnumerationIndex2 ([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass, [in] PRPC_UNICODE_STRING Prefix, [out] unsigned long *Index)
 
NTSTATUS __stdcall SamrCreateUser2InDomain ([in] SAMPR_HANDLE DomainHandle, [in] PRPC_UNICODE_STRING Name, [in] unsigned long AccountType, [in] ACCESS_MASK DesiredAccess, [out] SAMPR_HANDLE *UserHandle, [out] unsigned long *GrantedAccess, [out] unsigned long *RelativeId)
 
NTSTATUS __stdcall SamrQueryDisplayInformation3 ([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass, [in] unsigned long Index, [in] unsigned long EntryCount, [in] unsigned long PreferredMaximumLength, [out] unsigned long *TotalAvailable, [out] unsigned long *TotalReturned, [out, switch_is(DisplayInformationClass)] PSAMPR_DISPLAY_INFO_BUFFER Buffer)
 
NTSTATUS __stdcall SamrAddMultipleMembersToAlias ([in] SAMPR_HANDLE AliasHandle, [in] PSAMPR_PSID_ARRAY MembersBuffer)
 
NTSTATUS __stdcall SamrRemoveMultipleMembersFromAlias ([in] SAMPR_HANDLE AliasHandle, [in] PSAMPR_PSID_ARRAY MembersBuffer)
 
NTSTATUS __stdcall SamrOemChangePasswordUser2 ([in] handle_t BindingHandle, [in, unique] PRPC_STRING ServerName, [in] PRPC_STRING UserName, [in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldLm, [in, unique] PENCRYPTED_LM_OWF_PASSWORD OldLmOwfPasswordEncryptedWithNewLm)
 
NTSTATUS __stdcall SamrUnicodeChangePasswordUser2 ([in] handle_t BindingHandle, [in, unique] PRPC_UNICODE_STRING ServerName, [in] PRPC_UNICODE_STRING UserName, [in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldNt, [in, unique] PENCRYPTED_NT_OWF_PASSWORD OldNtOwfPasswordEncryptedWithNewNt, [in] unsigned char LmPresent, [in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldLm, [in, unique] PENCRYPTED_LM_OWF_PASSWORD OldLmOwfPasswordEncryptedWithNewNt)
 
NTSTATUS __stdcall SamrGetDomainPasswordInformation ([in] handle_t BindingHandle, [in, unique] PRPC_UNICODE_STRING Unused, [out] PUSER_DOMAIN_PASSWORD_INFORMATION PasswordInformation)
 
NTSTATUS __stdcall SamrConnect2 ([in, unique, string] PSAMPR_SERVER_NAME ServerName, [out] SAMPR_HANDLE *ServerHandle, [in] ACCESS_MASK DesiredAccess)
 
NTSTATUS __stdcall SamrSetInformationUser2 ([in] SAMPR_HANDLE UserHandle, [in] USER_INFORMATION_CLASS UserInformationClass, [in, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER Buffer)
 
NTSTATUS __stdcall SamrSetBootKeyInformation ([in] handle_t BindingHandle)
 
NTSTATUS __stdcall SamrGetBootKeyInformation ([in] handle_t BindingHandle)
 
NTSTATUS __stdcall SamrConnect3 ([in] handle_t BindingHandle)
 
NTSTATUS __stdcall SamrConnect4 ([in, unique, string] PSAMPR_SERVER_NAME ServerName, [out] SAMPR_HANDLE *ServerHandle, [in] unsigned long ClientRevision, [in] ACCESS_MASK DesiredAccess)
 
NTSTATUS __stdcall SamrUnicodeChangePasswordUser3 ([in] handle_t BindingHandle)
 
NTSTATUS __stdcall SamrConnect5 ([in, unique, string] PSAMPR_SERVER_NAME ServerName, [in] ACCESS_MASK DesiredAccess, [in] unsigned long InVersion, [in, switch_is(InVersion)] SAMPR_REVISION_INFO *InRevisionInfo, [out] unsigned long *OutVersion, [out, switch_is(*OutVersion)] SAMPR_REVISION_INFO *OutRevisionInfo, [out] SAMPR_HANDLE *ServerHandle)
 
NTSTATUS __stdcall SamrRidToSid ([in] SAMPR_HANDLE ObjectHandle, [in] unsigned long Rid, [out] PRPC_SID *Sid)
 
NTSTATUS __stdcall SamrSetDSRMPassword ([in] handle_t BindingHandle, [in, unique] PRPC_UNICODE_STRING Unused, [in] unsigned long UserId, [in, unique] PENCRYPTED_NT_OWF_PASSWORD EncryptedNtOwfPassword)
 
NTSTATUS __stdcall SamrValidatePassword ([in] handle_t Handle, [in] PASSWORD_POLICY_VALIDATION_TYPE ValidationType, [in, switch_is(ValidationType)] PSAM_VALIDATE_INPUT_ARG InputArg, [out, switch_is(ValidationType)] PSAM_VALIDATE_OUTPUT_ARG *OutputArg)
 

Detailed Description

Definition at line 841 of file sam.idl.

Member Function Documentation

◆ SamrAddMemberToAlias()

NTSTATUS __stdcall samr::SamrAddMemberToAlias ( [in] SAMPR_HANDLE  AliasHandle,
[in] PRPC_SID  MemberId 
)

◆ SamrAddMemberToGroup()

NTSTATUS __stdcall samr::SamrAddMemberToGroup ( [in] SAMPR_HANDLE  GroupHandle,
[in] unsigned long  MemberId,
[in] unsigned long  Attributes 
)

◆ SamrAddMultipleMembersToAlias()

NTSTATUS __stdcall samr::SamrAddMultipleMembersToAlias ( [in] SAMPR_HANDLE  AliasHandle,
[in] PSAMPR_PSID_ARRAY  MembersBuffer 
)

◆ SamrChangePasswordUser()

NTSTATUS __stdcall samr::SamrChangePasswordUser ( [in] SAMPR_HANDLE  UserHandle,
[in] unsigned char  LmPresent,
[in, unique] PENCRYPTED_LM_OWF_PASSWORD  OldLmEncryptedWithNewLm,
[in, unique] PENCRYPTED_LM_OWF_PASSWORD  NewLmEncryptedWithOldLm,
[in] unsigned char  NtPresent,
[in, unique] PENCRYPTED_NT_OWF_PASSWORD  OldNtEncryptedWithNewNt,
[in, unique] PENCRYPTED_NT_OWF_PASSWORD  NewNtEncryptedWithOldNt,
[in] unsigned char  NtCrossEncryptionPresent,
[in, unique] PENCRYPTED_NT_OWF_PASSWORD  NewNtEncryptedWithNewLm,
[in] unsigned char  LmCrossEncryptionPresent,
[in, unique] PENCRYPTED_LM_OWF_PASSWORD  NewLmEncryptedWithNewNt 
)

◆ SamrCloseHandle()

NTSTATUS __stdcall samr::SamrCloseHandle ( [in, out] SAMPR_HANDLE SamHandle)

◆ SamrConnect()

NTSTATUS __stdcall samr::SamrConnect ( [in, unique] PSAMPR_SERVER_NAME  ServerName,
[out] SAMPR_HANDLE ServerHandle,
[in] ACCESS_MASK  DesiredAccess 
)

◆ SamrConnect2()

NTSTATUS __stdcall samr::SamrConnect2 ( [in, unique, string] PSAMPR_SERVER_NAME  ServerName,
[out] SAMPR_HANDLE ServerHandle,
[in] ACCESS_MASK  DesiredAccess 
)

◆ SamrConnect3()

NTSTATUS __stdcall samr::SamrConnect3 ( [in] handle_t  BindingHandle)

◆ SamrConnect4()

NTSTATUS __stdcall samr::SamrConnect4 ( [in, unique, string] PSAMPR_SERVER_NAME  ServerName,
[out] SAMPR_HANDLE ServerHandle,
[in] unsigned long  ClientRevision,
[in] ACCESS_MASK  DesiredAccess 
)

◆ SamrConnect5()

NTSTATUS __stdcall samr::SamrConnect5 ( [in, unique, string] PSAMPR_SERVER_NAME  ServerName,
[in] ACCESS_MASK  DesiredAccess,
[in] unsigned long  InVersion,
[in, switch_is(InVersion)] SAMPR_REVISION_INFO InRevisionInfo,
[out] unsigned long OutVersion,
[out, switch_is(*OutVersion)] SAMPR_REVISION_INFO OutRevisionInfo,
[out] SAMPR_HANDLE ServerHandle 
)

◆ SamrCreateAliasInDomain()

NTSTATUS __stdcall samr::SamrCreateAliasInDomain ( [in] SAMPR_HANDLE  DomainHandle,
[in] PRPC_UNICODE_STRING  AccountName,
[in] ACCESS_MASK  DesiredAccess,
[out] SAMPR_HANDLE AliasHandle,
[out] unsigned long RelativeId 
)

◆ SamrCreateGroupInDomain()

NTSTATUS __stdcall samr::SamrCreateGroupInDomain ( [in] SAMPR_HANDLE  DomainHandle,
[in] PRPC_UNICODE_STRING  Name,
[in] ACCESS_MASK  DesiredAccess,
[out] SAMPR_HANDLE GroupHandle,
[out] unsigned long RelativeId 
)

◆ SamrCreateUser2InDomain()

NTSTATUS __stdcall samr::SamrCreateUser2InDomain ( [in] SAMPR_HANDLE  DomainHandle,
[in] PRPC_UNICODE_STRING  Name,
[in] unsigned long  AccountType,
[in] ACCESS_MASK  DesiredAccess,
[out] SAMPR_HANDLE UserHandle,
[out] unsigned long GrantedAccess,
[out] unsigned long RelativeId 
)

◆ SamrCreateUserInDomain()

NTSTATUS __stdcall samr::SamrCreateUserInDomain ( [in] SAMPR_HANDLE  DomainHandle,
[in] PRPC_UNICODE_STRING  Name,
[in] ACCESS_MASK  DesiredAccess,
[out] SAMPR_HANDLE UserHandle,
[out] unsigned long RelativeId 
)

◆ SamrDeleteAlias()

NTSTATUS __stdcall samr::SamrDeleteAlias ( [in, out] SAMPR_HANDLE AliasHandle)

◆ SamrDeleteGroup()

NTSTATUS __stdcall samr::SamrDeleteGroup ( [in, out] SAMPR_HANDLE GroupHandle)

◆ SamrDeleteUser()

NTSTATUS __stdcall samr::SamrDeleteUser ( [in, out] SAMPR_HANDLE UserHandle)

◆ SamrEnumerateAliasesInDomain()

NTSTATUS __stdcall samr::SamrEnumerateAliasesInDomain ( [in] SAMPR_HANDLE  DomainHandle,
[in, out] unsigned long EnumerationContext,
[out] PSAMPR_ENUMERATION_BUFFER Buffer,
[in] unsigned long  PreferedMaximumLength,
[out] unsigned long CountReturned 
)

◆ SamrEnumerateDomainsInSamServer()

NTSTATUS __stdcall samr::SamrEnumerateDomainsInSamServer ( [in] SAMPR_HANDLE  ServerHandle,
[in, out] unsigned long EnumerationContext,
[out] PSAMPR_ENUMERATION_BUFFER Buffer,
[in] unsigned long  PreferedMaximumLength,
[out] unsigned long CountReturned 
)

◆ SamrEnumerateGroupsInDomain()

NTSTATUS __stdcall samr::SamrEnumerateGroupsInDomain ( [in] SAMPR_HANDLE  DomainHandle,
[in, out] unsigned long EnumerationContext,
[out] PSAMPR_ENUMERATION_BUFFER Buffer,
[in] unsigned long  PreferedMaximumLength,
[out] unsigned long CountReturned 
)

◆ SamrEnumerateUsersInDomain()

NTSTATUS __stdcall samr::SamrEnumerateUsersInDomain ( [in] SAMPR_HANDLE  DomainHandle,
[in, out] unsigned long EnumerationContext,
[in] unsigned long  UserAccountControl,
[out] PSAMPR_ENUMERATION_BUFFER Buffer,
[in] unsigned long  PreferedMaximumLength,
[out] unsigned long CountReturned 
)

◆ SamrGetAliasMembership()

NTSTATUS __stdcall samr::SamrGetAliasMembership ( [in] SAMPR_HANDLE  DomainHandle,
[in] PSAMPR_PSID_ARRAY  SidArray,
[out] PSAMPR_ULONG_ARRAY  Membership 
)

◆ SamrGetBootKeyInformation()

NTSTATUS __stdcall samr::SamrGetBootKeyInformation ( [in] handle_t  BindingHandle)

◆ SamrGetDisplayEnumerationIndex()

NTSTATUS __stdcall samr::SamrGetDisplayEnumerationIndex ( [in] SAMPR_HANDLE  DomainHandle,
[in] DOMAIN_DISPLAY_INFORMATION  DisplayInformationClass,
[in] PRPC_UNICODE_STRING  Prefix,
[out] unsigned long Index 
)

◆ SamrGetDisplayEnumerationIndex2()

NTSTATUS __stdcall samr::SamrGetDisplayEnumerationIndex2 ( [in] SAMPR_HANDLE  DomainHandle,
[in] DOMAIN_DISPLAY_INFORMATION  DisplayInformationClass,
[in] PRPC_UNICODE_STRING  Prefix,
[out] unsigned long Index 
)

◆ SamrGetDomainPasswordInformation()

NTSTATUS __stdcall samr::SamrGetDomainPasswordInformation ( [in] handle_t  BindingHandle,
[in, unique] PRPC_UNICODE_STRING  Unused,
[out] PUSER_DOMAIN_PASSWORD_INFORMATION  PasswordInformation 
)

◆ SamrGetGroupsForUser()

NTSTATUS __stdcall samr::SamrGetGroupsForUser ( [in] SAMPR_HANDLE  UserHandle,
[out] PSAMPR_GET_GROUPS_BUFFER Groups 
)

◆ SamrGetMembersInAlias()

NTSTATUS __stdcall samr::SamrGetMembersInAlias ( [in] SAMPR_HANDLE  AliasHandle,
[out] PSAMPR_PSID_ARRAY_OUT  Members 
)

◆ SamrGetMembersInGroup()

NTSTATUS __stdcall samr::SamrGetMembersInGroup ( [in] SAMPR_HANDLE  GroupHandle,
[out] PSAMPR_GET_MEMBERS_BUFFER Members 
)

◆ SamrGetUserDomainPasswordInformation()

NTSTATUS __stdcall samr::SamrGetUserDomainPasswordInformation ( [in] SAMPR_HANDLE  UserHandle,
[out] PUSER_DOMAIN_PASSWORD_INFORMATION  PasswordInformation 
)

◆ SamrLookupDomainInSamServer()

NTSTATUS __stdcall samr::SamrLookupDomainInSamServer ( [in] SAMPR_HANDLE  ServerHandle,
[in] PRPC_UNICODE_STRING  Name,
[out] PRPC_SID DomainId 
)

◆ SamrLookupIdsInDomain()

NTSTATUS __stdcall samr::SamrLookupIdsInDomain ( [in] SAMPR_HANDLE  DomainHandle,
[in, range(0, 1000)] unsigned long  Count,
[in, size_is(1000), length_is(Count)] unsigned long RelativeIds,
[out] PSAMPR_RETURNED_USTRING_ARRAY  Names,
[out] PSAMPR_ULONG_ARRAY  Use 
)

◆ SamrLookupNamesInDomain()

NTSTATUS __stdcall samr::SamrLookupNamesInDomain ( [in] SAMPR_HANDLE  DomainHandle,
[in, range(0, 1000)] unsigned long  Count,
[in, size_is(1000), length_is(Count)] RPC_UNICODE_STRING  Names[ *],
[out] PSAMPR_ULONG_ARRAY  RelativeIds,
[out] PSAMPR_ULONG_ARRAY  Use 
)

◆ SamrOemChangePasswordUser2()

NTSTATUS __stdcall samr::SamrOemChangePasswordUser2 ( [in] handle_t  BindingHandle,
[in, unique] PRPC_STRING  ServerName,
[in] PRPC_STRING  UserName,
[in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD  NewPasswordEncryptedWithOldLm,
[in, unique] PENCRYPTED_LM_OWF_PASSWORD  OldLmOwfPasswordEncryptedWithNewLm 
)

◆ SamrOpenAlias()

NTSTATUS __stdcall samr::SamrOpenAlias ( [in] SAMPR_HANDLE  DomainHandle,
[in] ACCESS_MASK  DesiredAccess,
[in] ULONG  AliasId,
[out] SAMPR_HANDLE AliasHandle 
)

◆ SamrOpenDomain()

NTSTATUS __stdcall samr::SamrOpenDomain ( [in] SAMPR_HANDLE  ServerHandle,
[in] ACCESS_MASK  DesiredAccess,
[in] PRPC_SID  DomainId,
[out] SAMPR_HANDLE DomainHandle 
)

◆ SamrOpenGroup()

NTSTATUS __stdcall samr::SamrOpenGroup ( [in] SAMPR_HANDLE  DomainHandle,
[in] ACCESS_MASK  DesiredAccess,
[in] unsigned long  GroupId,
[out] SAMPR_HANDLE GroupHandle 
)

◆ SamrOpenUser()

NTSTATUS __stdcall samr::SamrOpenUser ( [in] SAMPR_HANDLE  DomainHandle,
[in] ACCESS_MASK  DesiredAccess,
[in] ULONG  UserId,
[out] SAMPR_HANDLE UserHandle 
)

◆ SamrQueryDisplayInformation()

NTSTATUS __stdcall samr::SamrQueryDisplayInformation ( [in] SAMPR_HANDLE  DomainHandle,
[in] DOMAIN_DISPLAY_INFORMATION  DisplayInformationClass,
[in] unsigned long  Index,
[in] unsigned long  EntryCount,
[in] unsigned long  PreferredMaximumLength,
[out] unsigned long TotalAvailable,
[out] unsigned long TotalReturned,
[out, switch_is(DisplayInformationClass)] PSAMPR_DISPLAY_INFO_BUFFER  Buffer 
)

◆ SamrQueryDisplayInformation2()

NTSTATUS __stdcall samr::SamrQueryDisplayInformation2 ( [in] SAMPR_HANDLE  DomainHandle,
[in] DOMAIN_DISPLAY_INFORMATION  DisplayInformationClass,
[in] unsigned long  Index,
[in] unsigned long  EntryCount,
[in] unsigned long  PreferredMaximumLength,
[out] unsigned long TotalAvailable,
[out] unsigned long TotalReturned,
[out, switch_is(DisplayInformationClass)] PSAMPR_DISPLAY_INFO_BUFFER  Buffer 
)

◆ SamrQueryDisplayInformation3()

NTSTATUS __stdcall samr::SamrQueryDisplayInformation3 ( [in] SAMPR_HANDLE  DomainHandle,
[in] DOMAIN_DISPLAY_INFORMATION  DisplayInformationClass,
[in] unsigned long  Index,
[in] unsigned long  EntryCount,
[in] unsigned long  PreferredMaximumLength,
[out] unsigned long TotalAvailable,
[out] unsigned long TotalReturned,
[out, switch_is(DisplayInformationClass)] PSAMPR_DISPLAY_INFO_BUFFER  Buffer 
)

◆ SamrQueryInformationAlias()

NTSTATUS __stdcall samr::SamrQueryInformationAlias ( [in] SAMPR_HANDLE  AliasHandle,
[in] ALIAS_INFORMATION_CLASS  AliasInformationClass,
[out, switch_is(AliasInformationClass)] PSAMPR_ALIAS_INFO_BUFFER Buffer 
)

◆ SamrQueryInformationDomain()

NTSTATUS __stdcall samr::SamrQueryInformationDomain ( [in] SAMPR_HANDLE  DomainHandle,
[in] DOMAIN_INFORMATION_CLASS  DomainInformationClass,
[out, switch_is(DomainInformationClass)] PSAMPR_DOMAIN_INFO_BUFFER Buffer 
)

◆ SamrQueryInformationDomain2()

NTSTATUS __stdcall samr::SamrQueryInformationDomain2 ( [in] SAMPR_HANDLE  DomainHandle,
[in] DOMAIN_INFORMATION_CLASS  DomainInformationClass,
[out, switch_is(DomainInformationClass)] PSAMPR_DOMAIN_INFO_BUFFER Buffer 
)

◆ SamrQueryInformationGroup()

NTSTATUS __stdcall samr::SamrQueryInformationGroup ( [in] SAMPR_HANDLE  GroupHandle,
[in] GROUP_INFORMATION_CLASS  GroupInformationClass,
[out, switch_is(GroupInformationClass)] PSAMPR_GROUP_INFO_BUFFER Buffer 
)

◆ SamrQueryInformationUser()

NTSTATUS __stdcall samr::SamrQueryInformationUser ( [in] SAMPR_HANDLE  UserHandle,
[in] USER_INFORMATION_CLASS  UserInformationClass,
[out, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER Buffer 
)

◆ SamrQueryInformationUser2()

NTSTATUS __stdcall samr::SamrQueryInformationUser2 ( [in] SAMPR_HANDLE  UserHandle,
[in] USER_INFORMATION_CLASS  UserInformationClass,
[out, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER Buffer 
)

◆ SamrQuerySecurityObject()

NTSTATUS __stdcall samr::SamrQuerySecurityObject ( [in] SAMPR_HANDLE  ObjectHandle,
[in] SECURITY_INFORMATION  SecurityInformation,
[out] PSAMPR_SR_SECURITY_DESCRIPTOR SecurityDescriptor 
)

◆ SamrRemoveMemberFromAlias()

NTSTATUS __stdcall samr::SamrRemoveMemberFromAlias ( [in] SAMPR_HANDLE  AliasHandle,
[in] PRPC_SID  MemberId 
)

◆ SamrRemoveMemberFromForeignDomain()

NTSTATUS __stdcall samr::SamrRemoveMemberFromForeignDomain ( [in] SAMPR_HANDLE  DomainHandle,
[in] PRPC_SID  MemberSid 
)

◆ SamrRemoveMemberFromGroup()

NTSTATUS __stdcall samr::SamrRemoveMemberFromGroup ( [in] SAMPR_HANDLE  GroupHandle,
[in] unsigned long  MemberId 
)

◆ SamrRemoveMultipleMembersFromAlias()

NTSTATUS __stdcall samr::SamrRemoveMultipleMembersFromAlias ( [in] SAMPR_HANDLE  AliasHandle,
[in] PSAMPR_PSID_ARRAY  MembersBuffer 
)

◆ SamrRidToSid()

NTSTATUS __stdcall samr::SamrRidToSid ( [in] SAMPR_HANDLE  ObjectHandle,
[in] unsigned long  Rid,
[out] PRPC_SID Sid 
)

◆ SamrSetBootKeyInformation()

NTSTATUS __stdcall samr::SamrSetBootKeyInformation ( [in] handle_t  BindingHandle)

◆ SamrSetDSRMPassword()

NTSTATUS __stdcall samr::SamrSetDSRMPassword ( [in] handle_t  BindingHandle,
[in, unique] PRPC_UNICODE_STRING  Unused,
[in] unsigned long  UserId,
[in, unique] PENCRYPTED_NT_OWF_PASSWORD  EncryptedNtOwfPassword 
)

◆ SamrSetInformationAlias()

NTSTATUS __stdcall samr::SamrSetInformationAlias ( [in] SAMPR_HANDLE  AliasHandle,
[in] ALIAS_INFORMATION_CLASS  AliasInformationClass,
[in, switch_is(AliasInformationClass)] PSAMPR_ALIAS_INFO_BUFFER  Buffer 
)

◆ SamrSetInformationDomain()

NTSTATUS __stdcall samr::SamrSetInformationDomain ( [in] SAMPR_HANDLE  DomainHandle,
[in] DOMAIN_INFORMATION_CLASS  DomainInformationClass,
[in, switch_is(DomainInformationClass)] PSAMPR_DOMAIN_INFO_BUFFER  DomainInformation 
)

◆ SamrSetInformationGroup()

NTSTATUS __stdcall samr::SamrSetInformationGroup ( [in] SAMPR_HANDLE  GroupHandle,
[in] GROUP_INFORMATION_CLASS  GroupInformationClass,
[in, switch_is(GroupInformationClass)] PSAMPR_GROUP_INFO_BUFFER  Buffer 
)

◆ SamrSetInformationUser()

NTSTATUS __stdcall samr::SamrSetInformationUser ( [in] SAMPR_HANDLE  UserHandle,
[in] USER_INFORMATION_CLASS  UserInformationClass,
[in, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER  Buffer 
)

◆ SamrSetInformationUser2()

NTSTATUS __stdcall samr::SamrSetInformationUser2 ( [in] SAMPR_HANDLE  UserHandle,
[in] USER_INFORMATION_CLASS  UserInformationClass,
[in, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER  Buffer 
)

◆ SamrSetMemberAttributesOfGroup()

NTSTATUS __stdcall samr::SamrSetMemberAttributesOfGroup ( [in] SAMPR_HANDLE  GroupHandle,
[in] unsigned long  MemberId,
[in] unsigned long  Attributes 
)

◆ SamrSetSecurityObject()

NTSTATUS __stdcall samr::SamrSetSecurityObject ( [in] SAMPR_HANDLE  ObjectHandle,
[in] SECURITY_INFORMATION  SecurityInformation,
[in] PSAMPR_SR_SECURITY_DESCRIPTOR  SecurityDescriptor 
)

◆ SamrShutdownSamServer()

NTSTATUS __stdcall samr::SamrShutdownSamServer ( [in] SAMPR_HANDLE  ServerHandle)

◆ SamrTestPrivateFunctionsDomain()

NTSTATUS __stdcall samr::SamrTestPrivateFunctionsDomain ( [in] SAMPR_HANDLE  DomainHandle)

◆ SamrTestPrivateFunctionsUser()

NTSTATUS __stdcall samr::SamrTestPrivateFunctionsUser ( [in] SAMPR_HANDLE  UserHandle)

◆ SamrUnicodeChangePasswordUser2()

NTSTATUS __stdcall samr::SamrUnicodeChangePasswordUser2 ( [in] handle_t  BindingHandle,
[in, unique] PRPC_UNICODE_STRING  ServerName,
[in] PRPC_UNICODE_STRING  UserName,
[in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD  NewPasswordEncryptedWithOldNt,
[in, unique] PENCRYPTED_NT_OWF_PASSWORD  OldNtOwfPasswordEncryptedWithNewNt,
[in] unsigned char  LmPresent,
[in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD  NewPasswordEncryptedWithOldLm,
[in, unique] PENCRYPTED_LM_OWF_PASSWORD  OldLmOwfPasswordEncryptedWithNewNt 
)

◆ SamrUnicodeChangePasswordUser3()

NTSTATUS __stdcall samr::SamrUnicodeChangePasswordUser3 ( [in] handle_t  BindingHandle)

◆ SamrValidatePassword()

NTSTATUS __stdcall samr::SamrValidatePassword ( [in] handle_t  Handle,
[in] PASSWORD_POLICY_VALIDATION_TYPE  ValidationType,
[in, switch_is(ValidationType)] PSAM_VALIDATE_INPUT_ARG  InputArg,
[out, switch_is(ValidationType)] PSAM_VALIDATE_OUTPUT_ARG OutputArg 
)

The documentation for this interface was generated from the following file: