Documentation ¶
Index ¶
- Constants
- Variables
- type Client
- 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) 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) GrantWSTrustRole(ctx context.Context, id types.PrincipalId, role string) (bool, error)
- func (c *Client) Login(ctx context.Context) error
- func (c *Client) Logout(ctx context.Context) 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) SetRole(ctx context.Context, id types.PrincipalId, role string) (bool, 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 ServiceContent types.AdminServiceContent GroupCheck types.GroupcheckServiceContent Domain string Limit int32 }
func (*Client) AddUsersToGroup ¶
func (*Client) CreateGroup ¶
func (*Client) CreatePersonUser ¶
func (*Client) CreateSolutionUser ¶
func (*Client) DeletePrincipal ¶
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) GrantWSTrustRole ¶
func (*Client) ResetPersonPassword ¶
func (*Client) RevokeWSTrustRole ¶
func (*Client) UpdatePersonUser ¶
func (*Client) UpdateSolutionUser ¶
Click to show internal directories.
Click to hide internal directories.