Documentation ¶
Index ¶
- Constants
- Variables
- type Client
- func (c *Client) AddGroupsToGroup(ctx context.Context, groupName string, groupIDs ...types.PrincipalId) error
- func (c *Client) AddUsersToGroup(ctx context.Context, groupName string, userIDs ...types.PrincipalId) error
- func (c *Client) CreateGroup(ctx context.Context, name string, details types.AdminGroupDetails) error
- func (c *Client) CreatePersonUser(ctx context.Context, name string, details types.AdminPersonDetails, ...) error
- func (c *Client) CreateSolutionUser(ctx context.Context, name string, details types.AdminSolutionDetails) error
- func (c *Client) DeletePrincipal(ctx context.Context, name string) error
- func (c *Client) FindGroup(ctx context.Context, name string) (*types.AdminGroup, error)
- func (c *Client) FindGroups(ctx context.Context, search string) ([]types.AdminGroup, error)
- func (c *Client) FindGroupsInGroup(ctx context.Context, name string, search string) ([]types.AdminGroup, error)
- func (c *Client) FindParentGroups(ctx context.Context, id types.PrincipalId, groups ...types.PrincipalId) ([]types.PrincipalId, error)
- func (c *Client) FindPersonUser(ctx context.Context, name string) (*types.AdminPersonUser, error)
- func (c *Client) FindPersonUsers(ctx context.Context, search string) ([]types.AdminPersonUser, error)
- func (c *Client) FindSolutionUser(ctx context.Context, name string) (*types.AdminSolutionUser, error)
- func (c *Client) FindSolutionUsers(ctx context.Context, search string) ([]types.AdminSolutionUser, error)
- func (c *Client) FindUser(ctx context.Context, name string) (*types.AdminUser, error)
- func (c *Client) FindUsersInGroup(ctx context.Context, name string, search string) ([]types.AdminUser, error)
- func (c *Client) GetDefaultDomains(ctx context.Context) ([]string, error)
- func (c *Client) GetLocalPasswordPolicy(ctx context.Context) (*types.AdminPasswordPolicy, error)
- func (c *Client) GrantWSTrustRole(ctx context.Context, id types.PrincipalId, role string) (bool, error)
- func (c *Client) IdentitySources(ctx context.Context) (*types.IdentitySources, error)
- func (c *Client) Login(ctx context.Context) error
- func (c *Client) Logout(ctx context.Context) error
- func (c *Client) RegisterLdap(ctx context.Context, stype string, name string, alias string, ...) error
- func (c *Client) RemoveUsersFromGroup(ctx context.Context, groupName string, userIDs ...types.PrincipalId) error
- func (c *Client) ResetPersonPassword(ctx context.Context, name string, password string) error
- func (c *Client) RevokeWSTrustRole(ctx context.Context, id types.PrincipalId, role string) (bool, error)
- func (c *Client) RoundTrip(ctx context.Context, req, res soap.HasFault) error
- func (c *Client) SetDefaultDomains(ctx context.Context, domain string) error
- func (c *Client) SetRole(ctx context.Context, id types.PrincipalId, role string) (bool, error)
- func (c *Client) UpdateGroup(ctx context.Context, name string, details types.AdminGroupDetails) error
- func (c *Client) UpdateLdap(ctx context.Context, name string, details types.LdapIdentitySourceDetails) error
- func (c *Client) UpdateLdapAuthnType(ctx context.Context, name string, ...) error
- func (c *Client) UpdateLocalPasswordPolicy(ctx context.Context, policy types.AdminPasswordPolicy) error
- func (c *Client) UpdatePersonUser(ctx context.Context, name string, details types.AdminPersonDetails) error
- func (c *Client) UpdateSolutionUser(ctx context.Context, name string, details types.AdminSolutionDetails) error
Constants ¶
View Source
const ( Namespace = "sso" Version = "version2" Path = "/sso-adminserver" + vim25.Path )
Variables ¶
View Source
var (
ServiceInstance = vim.ManagedObjectReference{
Type: "SsoAdminServiceInstance",
Value: "SsoAdminServiceInstance",
}
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *soap.Client RoundTripper soap.RoundTripper ServiceContent types.AdminServiceContent GroupCheck types.GroupcheckServiceContent Domain string Limit int32 }
func (*Client) AddGroupsToGroup ¶
func (*Client) AddUsersToGroup ¶
func (*Client) CreateGroup ¶
func (*Client) CreatePersonUser ¶
func (*Client) CreateSolutionUser ¶
func (*Client) DeletePrincipal ¶
func (*Client) FindGroups ¶
func (*Client) FindGroupsInGroup ¶
func (*Client) FindParentGroups ¶
func (c *Client) FindParentGroups(ctx context.Context, id types.PrincipalId, groups ...types.PrincipalId) ([]types.PrincipalId, error)
func (*Client) FindPersonUser ¶
func (*Client) FindPersonUsers ¶
func (*Client) FindSolutionUser ¶
func (*Client) FindSolutionUsers ¶
func (*Client) FindUsersInGroup ¶
func (*Client) GetDefaultDomains ¶
func (*Client) GetLocalPasswordPolicy ¶
func (*Client) GrantWSTrustRole ¶
func (*Client) IdentitySources ¶
func (*Client) RegisterLdap ¶
func (*Client) RemoveUsersFromGroup ¶
func (*Client) ResetPersonPassword ¶
func (*Client) RevokeWSTrustRole ¶
func (*Client) SetDefaultDomains ¶
func (*Client) UpdateGroup ¶
func (*Client) UpdateLdap ¶
func (*Client) UpdateLdapAuthnType ¶
func (*Client) UpdateLocalPasswordPolicy ¶
func (*Client) UpdatePersonUser ¶
func (*Client) UpdateSolutionUser ¶
Click to show internal directories.
Click to hide internal directories.