C# 클래스 ZendeskApi_v2.Requests.Users

상속: Core, IUsers
파일 보기 프로젝트 열기: mozts2005/ZendeskApi_v2 1 사용 예제들

공개 메소드들

메소드 설명
AddUserIdentity ( long userId, ZendeskApi_v2.Models.Users.UserIdentity identity ) : ZendeskApi_v2.Models.Users.IndividualUserIdentityResponse
AddUserIdentityAsync ( long userId, UserIdentity identity ) : Task
BulkCreateUsers ( IEnumerable users ) : JobStatusResponse
BulkCreateUsersAsync ( IEnumerable users ) : Task
ChangeUsersPassword ( long userId, string oldPassword, string newPassword ) : bool
ChangeUsersPasswordAsync ( long userId, string oldPassword, string newPassword ) : Task
CreateUser ( ZendeskApi_v2.Models.Users.User user ) : IndividualUserResponse
CreateUserAsync ( ZendeskApi_v2.Models.Users.User user ) : Task
DeleteUser ( long id ) : bool
DeleteUserAsync ( long id ) : Task
DeleteUserIdentity ( long userId, long identityId ) : bool
DeleteUserIdentityAsync ( long userId, long identityId ) : Task
GetAllUsers ( int perPage = null, int page = null, UserSideLoadOptions sideLoadOptions = UserSideLoadOptions.None ) : GroupUserResponse
GetAllUsersAsync ( int perPage = null, int page = null, UserSideLoadOptions sideLoadOptions = UserSideLoadOptions.None ) : Task
GetCurrentUser ( ) : IndividualUserResponse
GetCurrentUserAsync ( ) : Task
GetMultipleUsers ( IEnumerable ids, UserSideLoadOptions sideLoadOptions = UserSideLoadOptions.None ) : GroupUserResponse
GetMultipleUsersAsync ( IEnumerable ids, UserSideLoadOptions sideLoadOptions = UserSideLoadOptions.None ) : Task
GetSpecificUserIdentity ( long userId, long identityId ) : IndividualUserIdentityResponse
GetSpecificUserIdentityAsync ( long userId, long identityId ) : Task
GetUser ( long id ) : IndividualUserResponse
GetUserAsync ( long id ) : Task
GetUserIdentities ( long userId ) : GroupUserIdentityResponse
GetUserIdentitiesAsync ( long userId ) : Task
GetUserRelatedInformation ( long id ) : IndividualUserRelatedInformationResponse
GetUserRelatedInformationAsync ( long id ) : Task
GetUsersInGroup ( long id ) : GroupUserResponse
GetUsersInGroupAsync ( long id ) : Task
GetUsersInOrganization ( long id ) : GroupUserResponse
GetUsersInOrganizationAsync ( long id ) : Task
MergeUser ( long fromId, long intoId ) : IndividualUserResponse

The user whose id is provided in the URL will be merged into the existing user provided in the params. Any two arbitrary users can be merged.

MergeUserAsync ( long fromId, long intoId ) : Task

The user whose id is provided in the URL will be merged into the existing user provided in the params. Any two arbitrary users can be merged.

SearchByCustomUserField ( string fieldKey, string fieldValue ) : GroupUserResponse
SearchByCustomUserFieldAsync ( string fieldKey, string fieldValue ) : Task
SearchByEmail ( string email ) : GroupUserResponse
SearchByEmailAsync ( string email ) : Task
SearchByExternalId ( string externalId ) : GroupUserResponse
SearchByExternalIdAsync ( string externalId ) : Task
SearchByPhone ( string phone ) : GroupUserResponse
SearchByPhoneAsync ( string phone ) : Task
SendUserVerificationRequest ( long userId, long identityId ) : IndividualUserIdentityResponse

This sends a verification email to the user, asking him to click a link in order to verify ownership of the email address

SendUserVerificationRequestAsync ( long userId, long identityId ) : Task

This sends a verification email to the user, asking him to click a link in order to verify ownership of the email address

SetUserIdentityAsPrimary ( long userId, long identityId ) : GroupUserIdentityResponse
SetUserIdentityAsPrimaryAsync ( long userId, long identityId ) : Task
SetUserIdentityAsVerified ( long userId, long identityId ) : IndividualUserIdentityResponse
SetUserIdentityAsVerifiedAsync ( long userId, long identityId ) : Task
SetUserPhoto ( long userId, ZenFile photo ) : IndividualUserResponse
SetUserPhotoAsync ( long userId, ZenFile photo ) : Task
SetUsersPassword ( long userId, string newPassword ) : bool
SetUsersPasswordAsync ( long userId, string newPassword ) : Task
SuspendUser ( long id ) : IndividualUserResponse
SuspendUserAsync ( long id ) : Task
UpdateUser ( ZendeskApi_v2.Models.Users.User user ) : IndividualUserResponse
UpdateUserAsync ( ZendeskApi_v2.Models.Users.User user ) : Task
UpdateUserIdentity ( long userId, UserIdentity identity ) : IndividualUserIdentityResponse
UpdateUserIdentityAsync ( long userId, UserIdentity identity ) : Task
Users ( string yourZendeskUrl, string user, string password, string apiToken, string p_OAuthToken ) : System

비공개 메소드들

메소드 설명
GetResourceStringWithSideLoadOptionsParam ( string resource, UserSideLoadOptions sideLoadOptions ) : string

메소드 상세

AddUserIdentity() 공개 메소드

public AddUserIdentity ( long userId, ZendeskApi_v2.Models.Users.UserIdentity identity ) : ZendeskApi_v2.Models.Users.IndividualUserIdentityResponse
userId long
identity ZendeskApi_v2.Models.Users.UserIdentity
리턴 ZendeskApi_v2.Models.Users.IndividualUserIdentityResponse

AddUserIdentityAsync() 공개 메소드

public AddUserIdentityAsync ( long userId, UserIdentity identity ) : Task
userId long
identity UserIdentity
리턴 Task

BulkCreateUsers() 공개 메소드

public BulkCreateUsers ( IEnumerable users ) : JobStatusResponse
users IEnumerable
리턴 JobStatusResponse

BulkCreateUsersAsync() 공개 메소드

public BulkCreateUsersAsync ( IEnumerable users ) : Task
users IEnumerable
리턴 Task

ChangeUsersPassword() 공개 메소드

public ChangeUsersPassword ( long userId, string oldPassword, string newPassword ) : bool
userId long
oldPassword string
newPassword string
리턴 bool

ChangeUsersPasswordAsync() 공개 메소드

public ChangeUsersPasswordAsync ( long userId, string oldPassword, string newPassword ) : Task
userId long
oldPassword string
newPassword string
리턴 Task

CreateUser() 공개 메소드

public CreateUser ( ZendeskApi_v2.Models.Users.User user ) : IndividualUserResponse
user ZendeskApi_v2.Models.Users.User
리턴 IndividualUserResponse

CreateUserAsync() 공개 메소드

public CreateUserAsync ( ZendeskApi_v2.Models.Users.User user ) : Task
user ZendeskApi_v2.Models.Users.User
리턴 Task

DeleteUser() 공개 메소드

public DeleteUser ( long id ) : bool
id long
리턴 bool

DeleteUserAsync() 공개 메소드

public DeleteUserAsync ( long id ) : Task
id long
리턴 Task

DeleteUserIdentity() 공개 메소드

public DeleteUserIdentity ( long userId, long identityId ) : bool
userId long
identityId long
리턴 bool

DeleteUserIdentityAsync() 공개 메소드

public DeleteUserIdentityAsync ( long userId, long identityId ) : Task
userId long
identityId long
리턴 Task

GetAllUsers() 공개 메소드

public GetAllUsers ( int perPage = null, int page = null, UserSideLoadOptions sideLoadOptions = UserSideLoadOptions.None ) : GroupUserResponse
perPage int
page int
sideLoadOptions UserSideLoadOptions
리턴 GroupUserResponse

GetAllUsersAsync() 공개 메소드

public GetAllUsersAsync ( int perPage = null, int page = null, UserSideLoadOptions sideLoadOptions = UserSideLoadOptions.None ) : Task
perPage int
page int
sideLoadOptions UserSideLoadOptions
리턴 Task

GetCurrentUser() 공개 메소드

public GetCurrentUser ( ) : IndividualUserResponse
리턴 IndividualUserResponse

GetCurrentUserAsync() 공개 메소드

public GetCurrentUserAsync ( ) : Task
리턴 Task

GetMultipleUsers() 공개 메소드

public GetMultipleUsers ( IEnumerable ids, UserSideLoadOptions sideLoadOptions = UserSideLoadOptions.None ) : GroupUserResponse
ids IEnumerable
sideLoadOptions UserSideLoadOptions
리턴 GroupUserResponse

GetMultipleUsersAsync() 공개 메소드

public GetMultipleUsersAsync ( IEnumerable ids, UserSideLoadOptions sideLoadOptions = UserSideLoadOptions.None ) : Task
ids IEnumerable
sideLoadOptions UserSideLoadOptions
리턴 Task

GetSpecificUserIdentity() 공개 메소드

public GetSpecificUserIdentity ( long userId, long identityId ) : IndividualUserIdentityResponse
userId long
identityId long
리턴 IndividualUserIdentityResponse

GetSpecificUserIdentityAsync() 공개 메소드

public GetSpecificUserIdentityAsync ( long userId, long identityId ) : Task
userId long
identityId long
리턴 Task

GetUser() 공개 메소드

public GetUser ( long id ) : IndividualUserResponse
id long
리턴 IndividualUserResponse

GetUserAsync() 공개 메소드

public GetUserAsync ( long id ) : Task
id long
리턴 Task

GetUserIdentities() 공개 메소드

public GetUserIdentities ( long userId ) : GroupUserIdentityResponse
userId long
리턴 GroupUserIdentityResponse

GetUserIdentitiesAsync() 공개 메소드

public GetUserIdentitiesAsync ( long userId ) : Task
userId long
리턴 Task

GetUserRelatedInformation() 공개 메소드

public GetUserRelatedInformation ( long id ) : IndividualUserRelatedInformationResponse
id long
리턴 IndividualUserRelatedInformationResponse

GetUserRelatedInformationAsync() 공개 메소드

public GetUserRelatedInformationAsync ( long id ) : Task
id long
리턴 Task

GetUsersInGroup() 공개 메소드

public GetUsersInGroup ( long id ) : GroupUserResponse
id long
리턴 GroupUserResponse

GetUsersInGroupAsync() 공개 메소드

public GetUsersInGroupAsync ( long id ) : Task
id long
리턴 Task

GetUsersInOrganization() 공개 메소드

public GetUsersInOrganization ( long id ) : GroupUserResponse
id long
리턴 GroupUserResponse

GetUsersInOrganizationAsync() 공개 메소드

public GetUsersInOrganizationAsync ( long id ) : Task
id long
리턴 Task

MergeUser() 공개 메소드

The user whose id is provided in the URL will be merged into the existing user provided in the params. Any two arbitrary users can be merged.
public MergeUser ( long fromId, long intoId ) : IndividualUserResponse
fromId long
intoId long
리턴 IndividualUserResponse

MergeUserAsync() 공개 메소드

The user whose id is provided in the URL will be merged into the existing user provided in the params. Any two arbitrary users can be merged.
public MergeUserAsync ( long fromId, long intoId ) : Task
fromId long
intoId long
리턴 Task

SearchByCustomUserField() 공개 메소드

public SearchByCustomUserField ( string fieldKey, string fieldValue ) : GroupUserResponse
fieldKey string
fieldValue string
리턴 GroupUserResponse

SearchByCustomUserFieldAsync() 공개 메소드

public SearchByCustomUserFieldAsync ( string fieldKey, string fieldValue ) : Task
fieldKey string
fieldValue string
리턴 Task

SearchByEmail() 공개 메소드

public SearchByEmail ( string email ) : GroupUserResponse
email string
리턴 GroupUserResponse

SearchByEmailAsync() 공개 메소드

public SearchByEmailAsync ( string email ) : Task
email string
리턴 Task

SearchByExternalId() 공개 메소드

public SearchByExternalId ( string externalId ) : GroupUserResponse
externalId string
리턴 GroupUserResponse

SearchByExternalIdAsync() 공개 메소드

public SearchByExternalIdAsync ( string externalId ) : Task
externalId string
리턴 Task

SearchByPhone() 공개 메소드

public SearchByPhone ( string phone ) : GroupUserResponse
phone string
리턴 GroupUserResponse

SearchByPhoneAsync() 공개 메소드

public SearchByPhoneAsync ( string phone ) : Task
phone string
리턴 Task

SendUserVerificationRequest() 공개 메소드

This sends a verification email to the user, asking him to click a link in order to verify ownership of the email address
public SendUserVerificationRequest ( long userId, long identityId ) : IndividualUserIdentityResponse
userId long
identityId long
리턴 IndividualUserIdentityResponse

SendUserVerificationRequestAsync() 공개 메소드

This sends a verification email to the user, asking him to click a link in order to verify ownership of the email address
public SendUserVerificationRequestAsync ( long userId, long identityId ) : Task
userId long
identityId long
리턴 Task

SetUserIdentityAsPrimary() 공개 메소드

public SetUserIdentityAsPrimary ( long userId, long identityId ) : GroupUserIdentityResponse
userId long
identityId long
리턴 GroupUserIdentityResponse

SetUserIdentityAsPrimaryAsync() 공개 메소드

public SetUserIdentityAsPrimaryAsync ( long userId, long identityId ) : Task
userId long
identityId long
리턴 Task

SetUserIdentityAsVerified() 공개 메소드

public SetUserIdentityAsVerified ( long userId, long identityId ) : IndividualUserIdentityResponse
userId long
identityId long
리턴 IndividualUserIdentityResponse

SetUserIdentityAsVerifiedAsync() 공개 메소드

public SetUserIdentityAsVerifiedAsync ( long userId, long identityId ) : Task
userId long
identityId long
리턴 Task

SetUserPhoto() 공개 메소드

public SetUserPhoto ( long userId, ZenFile photo ) : IndividualUserResponse
userId long
photo ZenFile
리턴 IndividualUserResponse

SetUserPhotoAsync() 공개 메소드

public SetUserPhotoAsync ( long userId, ZenFile photo ) : Task
userId long
photo ZenFile
리턴 Task

SetUsersPassword() 공개 메소드

public SetUsersPassword ( long userId, string newPassword ) : bool
userId long
newPassword string
리턴 bool

SetUsersPasswordAsync() 공개 메소드

public SetUsersPasswordAsync ( long userId, string newPassword ) : Task
userId long
newPassword string
리턴 Task

SuspendUser() 공개 메소드

public SuspendUser ( long id ) : IndividualUserResponse
id long
리턴 IndividualUserResponse

SuspendUserAsync() 공개 메소드

public SuspendUserAsync ( long id ) : Task
id long
리턴 Task

UpdateUser() 공개 메소드

public UpdateUser ( ZendeskApi_v2.Models.Users.User user ) : IndividualUserResponse
user ZendeskApi_v2.Models.Users.User
리턴 IndividualUserResponse

UpdateUserAsync() 공개 메소드

public UpdateUserAsync ( ZendeskApi_v2.Models.Users.User user ) : Task
user ZendeskApi_v2.Models.Users.User
리턴 Task

UpdateUserIdentity() 공개 메소드

public UpdateUserIdentity ( long userId, UserIdentity identity ) : IndividualUserIdentityResponse
userId long
identity UserIdentity
리턴 IndividualUserIdentityResponse

UpdateUserIdentityAsync() 공개 메소드

public UpdateUserIdentityAsync ( long userId, UserIdentity identity ) : Task
userId long
identity UserIdentity
리턴 Task

Users() 공개 메소드

public Users ( string yourZendeskUrl, string user, string password, string apiToken, string p_OAuthToken ) : System
yourZendeskUrl string
user string
password string
apiToken string
p_OAuthToken string
리턴 System